package com.wang.web3.bean;

import java.util.List;

/**
 * Created by zjf
 * on 2018/6/4
 */

public class MarketGirlBean {

    /**
     * code : 0
     * data : [{"canBorn":"0","cdTime":"3","duration":"352800","endPrice":4.9999999E16,"endTime":"2018-06-01 19:52:41.0","girlId":49,"id":7,"picBody":"http://p6nuqct3n.bkt.clouddn.com/girl_7.png","race":"0","rare":"1","star":"1","starPrice":1.0E20,"starTime":"2018-05-28 17:52:41.0","userAddress":"0x106a4e2fa0864a864a7d3512852c3920c96d4680"},{"canBorn":"0","cdTime":"1","duration":"435600","endPrice":4.99999992E17,"endTime":"2018-06-04 11:05:11.0","girlId":38,"id":11,"picBody":"http://p6nuqct3n.bkt.clouddn.com/girl_12.png","race":"1","rare":"1","star":"1","starPrice":5.0E19,"starTime":"2018-05-30 10:05:11.0","userAddress":"0x106a4e2fa0864a864a7d3512852c3920c96d4680"},{"canBorn":"1","cdTime":"2","duration":"180000","endPrice":1.0E19,"endTime":"2018-06-02 16:24:41.0","girlId":131,"id":13,"picBody":"http://p6nuqct3n.bkt.clouddn.com/girl_7.png","race":"0","rare":"2","star":"2","starPrice":1.5E19,"starTime":"2018-05-31 14:24:41.0","userAddress":"0x04efd2d762ab453c2f5c3b3289682166bc564d91"},{"canBorn":"1","cdTime":"0","duration":"180000","endPrice":1.5E19,"endTime":"2018-06-02 16:25:41.0","girlId":113,"id":14,"picBody":"http://p6nuqct3n.bkt.clouddn.com/girl_15.png","race":"2","rare":"2","star":"4","starPrice":2.5E19,"starTime":"2018-05-31 14:25:41.0","userAddress":"0x04efd2d762ab453c2f5c3b3289682166bc564d91"},{"canBorn":"1","cdTime":"5","duration":"172800","endPrice":3.0E19,"endTime":"2018-06-02 18:27:56.0","girlId":134,"id":15,"picBody":"http://p6nuqct3n.bkt.clouddn.com/girl_12.png","race":"1","rare":"2","star":"1","starPrice":6.0E19,"starTime":"2018-05-31 18:27:56.0","userAddress":"0xe54a083eb00251423d6b5cb02c08fd0167df8a8b"},{"canBorn":"1","cdTime":"0","duration":"7200","endPrice":1.0E19,"endTime":"2018-05-31 20:48:26.0","girlId":137,"id":16,"picBody":"http://p6nuqct3n.bkt.clouddn.com/girl_11.png","race":"1","rare":"2","star":"1","starPrice":1.1E19,"starTime":"2018-05-31 18:48:26.0","userAddress":"0xf77becabb5fedea608e7023d3d6c1f0ab198420f"}]
     * msg : 操作成功
     * pagination : {"pageIndex":1,"pageSize":10,"totalItems":6}
     */

    private String code;
    private String msg;
    private PaginationBean pagination;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public PaginationBean getPagination() {
        return pagination;
    }

    public void setPagination(PaginationBean pagination) {
        this.pagination = pagination;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class PaginationBean {
        /**
         * pageIndex : 1
         * pageSize : 10
         * totalItems : 6
         */

        private int pageIndex;
        private int pageSize;
        private int totalItems;

        public int getPageIndex() {
            return pageIndex;
        }

        public void setPageIndex(int pageIndex) {
            this.pageIndex = pageIndex;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalItems() {
            return totalItems;
        }

        public void setTotalItems(int totalItems) {
            this.totalItems = totalItems;
        }
    }

    public static class DataBean {
        /**
         * canBorn : 0
         * cdTime : 3
         * duration : 352800
         * endPrice : 4.9999999E16
         * endTime : 2018-06-01 19:52:41.0
         * girlId : 49
         * id : 7
         * picBody : http://p6nuqct3n.bkt.clouddn.com/girl_7.png
         * race : 0
         * rare : 1
         * star : 1
         * starPrice : 1.0E20
         * starTime : 2018-05-28 17:52:41.0
         * userAddress : 0x106a4e2fa0864a864a7d3512852c3920c96d4680
         */

        private String canBorn;
        private String cdTime;
        private String duration;
        private double endPrice;
        private String endTime;
        private int girlId;
        private int id;
        private String picBody;
        private String race;
        private String rare;
        private String star;
        private double starPrice;
        private String starTime;
        private String userAddress;

        public String getCanBorn() {
            return canBorn;
        }

        public void setCanBorn(String canBorn) {
            this.canBorn = canBorn;
        }

        public String getCdTime() {
            return cdTime;
        }

        public void setCdTime(String cdTime) {
            this.cdTime = cdTime;
        }

        public String getDuration() {
            return duration;
        }

        public void setDuration(String duration) {
            this.duration = duration;
        }

        public double getEndPrice() {
            return endPrice;
        }

        public void setEndPrice(double endPrice) {
            this.endPrice = endPrice;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }

        public int getGirlId() {
            return girlId;
        }

        public void setGirlId(int girlId) {
            this.girlId = girlId;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getPicBody() {
            return picBody;
        }

        public void setPicBody(String picBody) {
            this.picBody = picBody;
        }

        public String getRace() {
            return race;
        }

        public void setRace(String race) {
            this.race = race;
        }

        public String getRare() {
            return rare;
        }

        public void setRare(String rare) {
            this.rare = rare;
        }

        public String getStar() {
            return star;
        }

        public void setStar(String star) {
            this.star = star;
        }

        public double getStarPrice() {
            return starPrice;
        }

        public void setStarPrice(double starPrice) {
            this.starPrice = starPrice;
        }

        public String getStarTime() {
            return starTime;
        }

        public void setStarTime(String starTime) {
            this.starTime = starTime;
        }

        public String getUserAddress() {
            return userAddress;
        }

        public void setUserAddress(String userAddress) {
            this.userAddress = userAddress;
        }
    }
}
